package com.tony.blog.model.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 * Created with IntelliJ IDEA.
 * @Title: SysRoleDept
 * @Auther: 皮蛋布丁
 * @Date: 2021/07/09/10:05
 * @Description: 角色与部门对应关系
 */
@Data
@TableName("sys_role_dept")
public class SysRoleDeptEntity implements Serializable {
    private static final long serialVersionUID = 1L;
    @TableId
    private Long id;

    //角色ID
    private Long roleId;

    //部门ID
    private Long deptId;

}